package spring.service;

import spring.dao.UserDao;

/**
 * @author durant
 * @create 2021-10-30 9:29
 */
public class Service {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void add(){

        System.out.println("service add........");
        userDao.update();
    }
}
